package com.jackson.entity;

/*
 * Author: JacksonCoder
 * FileName: StudentEntity
 * Version: 1.0.0
 */
public class StudentEntity {

    private Integer id;

    private String name;

    private String sex;

    private Integer chinese;

    private Integer english;

    private Integer maths;

    public StudentEntity(Integer id, String name, String sex, Integer chinese, Integer english, Integer maths) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.chinese = chinese;
        this.english = english;
        this.maths = maths;
    }

    public StudentEntity(String name, String sex, Integer chinese, Integer english, Integer maths) {
        this.name = name;
        this.sex = sex;
        this.chinese = chinese;
        this.english = english;
        this.maths = maths;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getChinese() {
        return chinese;
    }

    public void setChinese(Integer chinese) {
        this.chinese = chinese;
    }

    public Integer getEnglish() {
        return english;
    }

    public void setEnglish(Integer english) {
        this.english = english;
    }

    public Integer getMaths() {
        return maths;
    }

    public void setMaths(Integer maths) {
        this.maths = maths;
    }

    @Override
    public String toString() {
        return "StudentEntity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", chinese=" + chinese +
                ", english=" + english +
                ", maths=" + maths +
                '}';
    }
}
